ifndef AST_STATEMENTS_MK
AST_STATEMENTS_MK:=yes

CURRENT_PATH:=$(PROJ_PATH)AST/Statements/

TMP_OBJS :=$(CURRENT_PATH)BlockItem.o \
$(CURRENT_PATH)BlockItemList.o \
$(CURRENT_PATH)CompoundStmt.o \
$(CURRENT_PATH)ExpressionStmt.o \
$(CURRENT_PATH)IterationStmt.o \
$(CURRENT_PATH)JumpStmt.o \
$(CURRENT_PATH)LabeledStmt.o \
$(CURRENT_PATH)SelectionStmt.o \
$(CURRENT_PATH)Statement.o 


OBJS+=$(TMP_OBJS)

DEPS+= $(TMP_OBJS:%.o=%.d)

$(CURRENT_PATH)%.o:$(CURRENT_PATH)%.cpp
	@echo 'Building $@'
	g++ $(INCLUDES) $(DEFINES) $(COMPILE_FLAGS) -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
	@echo 'Finish building $@'
	@echo ' '
	
endif

